package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;
import com.itheima.pojo.MemberOrder;

import java.util.List;

public interface MemberService {
    //根据手机号查询会员
    public Member findByTelephone(String telephone);
    //添加成员信息
    public void add(Member member);
    public List<Integer> findMemberCountByMonths(List<String> months);
    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);
    //新增预约信息
    void insert(MemberOrder memberOrder, Integer[] setmealIds);
    //根据id删除预约信息
    void orderMake(Integer id);

    void delOrderById(Integer[] delIds);
}
